package com.tally.server.exception;

/**
 * @Author: sy
 * @Date: 2020/11/25 13:50
 * @Description:
 */
public enum BusinessExceptionCode {
    EMAIL_CODE_EXPIRED("邮箱验证码不正确或已过期，请重新发送短信"),
    EMAIL_CODE_ERROR("邮箱验证码不正确"),
    EMAIL_CODE_TOO_FREQUENT("邮件请求过于频繁"),
    USER_NOT_EXISTS("用户不存在"),
    LOGIN_USER_ERROR("用户名不存在或密码不正确"),
    OLD_PASSWORD_INCORRECT("原始密码不正确"),
    ;

    private String desc;

    BusinessExceptionCode(String desc){
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }
}
